//
//  CarCell.m
//  Audit
//
//  Created by cc on 15-2-6.
//  Copyright (c) 2015年 cc. All rights reserved.
//

#import "CarCell.h"

@implementation CarCell

- (void)awakeFromNib {
    // Initialization code
    
    self.rightUtilityButtons = [self rightButtons];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (NSArray *)rightButtons
{
    NSMutableArray *rightUtilityButtons = [NSMutableArray new];
    
    [rightUtilityButtons addUtilityButtonWithColor:
     [UIColor colorWithRed:117.0/255.0 green:191.0/255.0 blue:102.0/255.0 alpha:1.0f]
                                             title:NSLocalizedString(@"编辑", nil)];
    
    [rightUtilityButtons addUtilityButtonWithColor:
     [UIColor colorWithRed:220.0/255.0 green:50.0/255.0 blue:47.0/255.0 alpha:1.0f]
                                             title:NSLocalizedString(@"删除", nil)];
    
    return rightUtilityButtons;
}


@end
